package org.jet.emall.log;

/**
 * @author xiaozai
 * @version 1.0
 * @date 2020-04-14 14:29
 */

public enum LogType {
    ADD((byte)1,"添加操作"),
    UPDATE((byte)2,"修改操作"),
    DELETE((byte)3,"删除操作"),
    GET((byte)4,"查询操作"),
    LOGIN((byte)5,"登录操作"),
    LOGOUT((byte)6,"注销操作");

    Byte code;
    String name;
    private LogType(Byte code,String name){
        this.code = code;
        this.name = name;
    }
}
